.class public Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;
.super Lcom/waiqin365/lightapp/kehu/view/CMCustomView;

# interfaces
.implements Ljava/util/Observer;


# instance fields
.field protected A:Ljava/lang/String;

.field protected B:Ljava/lang/String;

.field protected C:Ljava/lang/String;

.field D:Ljava/text/SimpleDateFormat;

.field E:Ljava/util/Calendar;

.field public F:I

.field protected G:Ljava/lang/String;

.field H:Lcom/waiqin365/lightapp/syorder/view/ab;

.field protected I:Landroid/view/View;

.field protected J:Landroid/view/View;

.field protected K:Landroid/view/View;

.field protected L:Ljava/util/ArrayList;

.field protected M:Ljava/util/ArrayList;

.field protected N:Ljava/util/ArrayList;

.field protected O:Lcom/waiqin365/lightapp/syorder/view/aa;

.field protected P:Lcom/waiqin365/lightapp/syorder/view/ac;

.field protected Q:Z

.field protected R:Ljava/lang/String;

.field protected S:Ljava/util/ArrayList;

.field protected T:Z

.field protected a:Landroid/content/Context;

.field protected b:Landroid/widget/LinearLayout;

.field protected c:Landroid/widget/TextView;

.field protected d:Landroid/widget/TextView;

.field protected e:Landroid/widget/TextView;

.field protected f:Landroid/widget/GridView;

.field protected g:I

.field protected h:Ljava/util/List;

.field protected i:Lcom/waiqin365/lightapp/syorder/view/w;

.field protected s:Z

.field protected t:Z

.field protected u:Lcom/waiqin365/lightapp/syorder/view/ae;

.field protected v:Lcom/waiqin365/lightapp/syorder/view/ae;

.field protected w:Lcom/waiqin365/lightapp/view/a;

.field protected x:I

.field protected y:Ljava/util/ArrayList;

.field protected z:Ljava/lang/String;


# direct methods
.method public constructor <init>(Landroid/content/Context;)V
    .locals 3

    const/4 v2, 0x1

    const/4 v1, 0x0

    const/4 v0, 0x0

    invoke-direct {p0, p1, v0}, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V

    iput v2, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->g:I

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->h:Ljava/util/List;

    iput-boolean v2, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->s:Z

    iput-boolean v1, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->t:Z

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->L:Ljava/util/ArrayList;

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->M:Ljava/util/ArrayList;

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->N:Ljava/util/ArrayList;

    iput-boolean v1, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->T:Z

    iput-object p1, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->a:Landroid/content/Context;

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->e()V

    return-void
.end method

.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
    .locals 3

    const/4 v2, 0x1

    const/4 v1, 0x0

    invoke-direct {p0, p1, p2}, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V

    iput v2, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->g:I

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->h:Ljava/util/List;

    iput-boolean v2, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->s:Z

    iput-boolean v1, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->t:Z

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->L:Ljava/util/ArrayList;

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->M:Ljava/util/ArrayList;

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->N:Ljava/util/ArrayList;

    iput-boolean v1, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->T:Z

    iput-object p1, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->a:Landroid/content/Context;

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->e()V

    return-void
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;)V
    .locals 0

    invoke-direct {p0}, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->r()V

    return-void
.end method

.method private r()V
    .locals 4

    const/4 v3, 0x1

    const/4 v2, 0x0

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->u:Lcom/waiqin365/lightapp/syorder/view/ae;

    if-eqz v0, :cond_2

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->u:Lcom/waiqin365/lightapp/syorder/view/ae;

    sget-object v1, Lcom/waiqin365/lightapp/syorder/view/ae;->a:Lcom/waiqin365/lightapp/syorder/view/ae;

    if-ne v0, v1, :cond_1

    invoke-virtual {p0, v3}, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->b(Z)V

    :cond_0
    :goto_0
    return-void

    :cond_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->u:Lcom/waiqin365/lightapp/syorder/view/ae;

    sget-object v1, Lcom/waiqin365/lightapp/syorder/view/ae;->b:Lcom/waiqin365/lightapp/syorder/view/ae;

    if-ne v0, v1, :cond_0

    invoke-virtual {p0, v2}, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->b(Z)V

    goto :goto_0

    :cond_2
    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->v:Lcom/waiqin365/lightapp/syorder/view/ae;

    if-eqz v0, :cond_4

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->v:Lcom/waiqin365/lightapp/syorder/view/ae;

    sget-object v1, Lcom/waiqin365/lightapp/syorder/view/ae;->a:Lcom/waiqin365/lightapp/syorder/view/ae;

    if-ne v0, v1, :cond_3

    invoke-virtual {p0, v3}, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->b(Z)V

    goto :goto_0

    :cond_3
    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->v:Lcom/waiqin365/lightapp/syorder/view/ae;

    sget-object v1, Lcom/waiqin365/lightapp/syorder/view/ae;->b:Lcom/waiqin365/lightapp/syorder/view/ae;

    if-ne v0, v1, :cond_0

    invoke-virtual {p0, v2}, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->b(Z)V

    goto :goto_0

    :cond_4
    const-string/jumbo v0, "1"

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v1

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->getContext()Landroid/content/Context;

    move-result-object v2

    invoke-virtual {v1, v2}, Lcom/waiqin365/base/login/mainview/a;->d(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->b(Z)V

    goto :goto_0
.end method


# virtual methods
.method public a(Ljava/lang/String;)Ljava/lang/String;
    .locals 7

    new-instance v3, Ljava/lang/StringBuilder;

    invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->h:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->h:Ljava/util/List;

    iget-object v1, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->h:Ljava/util/List;

    invoke-interface {v1}, Ljava/util/List;->size()I

    move-result v1

    add-int/lit8 v1, v1, -0x1

    invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/b/b;

    iget-object v0, v0, Lcom/waiqin365/lightapp/b/b;->b:Ljava/lang/String;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->h:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    add-int/lit8 v0, v0, -0x1

    move v1, v0

    :goto_0
    const/4 v0, 0x0

    move v2, v0

    :goto_1
    if-ge v2, v1, :cond_2

    if-eqz v2, :cond_0

    const-string/jumbo v0, ","

    invoke-virtual {v3, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->h:Ljava/util/List;

    invoke-interface {v0, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/b/b;

    iget-object v0, v0, Lcom/waiqin365/lightapp/b/b;->b:Ljava/lang/String;

    const-string/jumbo v4, "/"

    invoke-virtual {v0, v4}, Ljava/lang/String;->lastIndexOf(Ljava/lang/String;)I

    move-result v4

    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v5

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->h:Ljava/util/List;

    invoke-interface {v0, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/b/b;

    iget-object v6, v0, Lcom/waiqin365/lightapp/b/b;->b:Ljava/lang/String;

    add-int/lit8 v4, v4, 0x1

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->h:Ljava/util/List;

    invoke-interface {v0, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/b/b;

    iget-object v0, v0, Lcom/waiqin365/lightapp/b/b;->b:Ljava/lang/String;

    invoke-virtual {v0}, Ljava/lang/String;->length()I

    move-result v0

    invoke-virtual {v6, v4, v0}, Ljava/lang/String;->substring(II)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v5, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v3, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    add-int/lit8 v0, v2, 0x1

    move v2, v0

    goto :goto_1

    :cond_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->h:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    move v1, v0

    goto :goto_0

    :cond_2
    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method public a(Lcom/waiqin365/lightapp/kehu/b/o;)V
    .locals 6

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->C:Ljava/lang/String;

    if-eqz v0, :cond_1

    new-instance v0, Ljava/io/File;

    iget-object v1, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->C:Ljava/lang/String;

    invoke-direct {v0, v1}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    invoke-virtual {v0}, Ljava/io/File;->listFiles()[Ljava/io/File;

    move-result-object v2

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->getContext()Landroid/content/Context;

    move-result-object v0

    invoke-static {v0}, Lcom/fiberhome/upload/b/b;->a(Landroid/content/Context;)Lcom/fiberhome/upload/b/b;

    move-result-object v0

    iget-object v1, p1, Lcom/waiqin365/lightapp/kehu/b/o;->a:Ljava/lang/String;

    iput-object v1, v0, Lcom/fiberhome/upload/b/b;->a:Ljava/lang/String;

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->getContext()Landroid/content/Context;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/fiberhome/upload/b/b;->b(Landroid/content/Context;)V

    const-string/jumbo v0, ""

    :try_start_0
    new-instance v1, Lorg/json/JSONObject;

    invoke-direct {v1}, Lorg/json/JSONObject;-><init>()V

    const-string/jumbo v3, "uploadDir"

    iget-object v4, p1, Lcom/waiqin365/lightapp/kehu/b/o;->d:Ljava/lang/String;

    invoke-virtual {v1, v3, v4}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    const-string/jumbo v3, "uploadHandler"

    iget-object v4, p1, Lcom/waiqin365/lightapp/kehu/b/o;->e:Ljava/lang/String;

    invoke-virtual {v1, v3, v4}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    const-string/jumbo v3, "tenantId"

    iget-object v4, p1, Lcom/waiqin365/lightapp/kehu/b/o;->b:Ljava/lang/String;

    invoke-virtual {v1, v3, v4}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    const-string/jumbo v3, "cmId"

    iget-object v4, p1, Lcom/waiqin365/lightapp/kehu/b/o;->c:Ljava/lang/String;

    invoke-virtual {v1, v3, v4}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    const-string/jumbo v3, "code"

    iget-object v4, p1, Lcom/waiqin365/lightapp/kehu/b/o;->f:Ljava/lang/String;

    invoke-virtual {v1, v3, v4}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    invoke-virtual {v1}, Lorg/json/JSONObject;->toString()Ljava/lang/String;
    :try_end_0
    .catch Lorg/json/JSONException; {:try_start_0 .. :try_end_0} :catch_0

    move-result-object v0

    :goto_0
    const/4 v1, 0x0

    :goto_1
    if-eqz v2, :cond_1

    array-length v3, v2

    if-ge v1, v3, :cond_1

    aget-object v3, v2, v1

    invoke-virtual {v3}, Ljava/io/File;->isDirectory()Z

    move-result v3

    if-eqz v3, :cond_0

    :goto_2
    add-int/lit8 v1, v1, 0x1

    goto :goto_1

    :cond_0
    new-instance v3, Lcom/fiberhome/upload/b/a;

    invoke-direct {v3}, Lcom/fiberhome/upload/b/a;-><init>()V

    aget-object v4, v2, v1

    invoke-virtual {v4}, Ljava/io/File;->getName()Ljava/lang/String;

    move-result-object v4

    iput-object v4, v3, Lcom/fiberhome/upload/b/a;->a:Ljava/lang/String;

    aget-object v4, v2, v1

    invoke-virtual {v4}, Ljava/io/File;->getAbsolutePath()Ljava/lang/String;

    move-result-object v4

    iput-object v4, v3, Lcom/fiberhome/upload/b/a;->b:Ljava/lang/String;

    aget-object v4, v2, v1

    invoke-virtual {v4}, Ljava/io/File;->length()J

    move-result-wide v4

    iput-wide v4, v3, Lcom/fiberhome/upload/b/a;->c:J

    iget-object v4, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->D:Ljava/text/SimpleDateFormat;

    iget-object v5, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->E:Ljava/util/Calendar;

    invoke-virtual {v5}, Ljava/util/Calendar;->getTime()Ljava/util/Date;

    move-result-object v5

    invoke-virtual {v4, v5}, Ljava/text/SimpleDateFormat;->format(Ljava/util/Date;)Ljava/lang/String;

    move-result-object v4

    iput-object v4, v3, Lcom/fiberhome/upload/b/a;->d:Ljava/lang/String;

    iput-object v0, v3, Lcom/fiberhome/upload/b/a;->e:Ljava/lang/String;

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->getContext()Landroid/content/Context;

    move-result-object v4

    invoke-static {v4}, Lcom/fiberhome/upload/a/c;->a(Landroid/content/Context;)Lcom/fiberhome/upload/a/c;

    move-result-object v4

    invoke-virtual {v4, v3}, Lcom/fiberhome/upload/a/c;->a(Lcom/fiberhome/upload/b/a;)Z

    move-result v4

    new-instance v5, Ljava/lang/StringBuilder;

    invoke-direct {v5}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v3, v3, Lcom/fiberhome/upload/b/a;->b:Ljava/lang/String;

    invoke-virtual {v5, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    const-string/jumbo v5, ":"

    invoke-virtual {v3, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Z)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    invoke-static {v3}, Lcom/fiberhome/upload/c/a;->a(Ljava/lang/String;)V

    goto :goto_2

    :cond_1
    return-void

    :catch_0
    move-exception v1

    goto :goto_0
.end method

.method public a(Lcom/waiqin365/lightapp/b/b;)Z
    .locals 3

    const/4 v0, 0x0

    if-eqz p1, :cond_0

    iget-object v1, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->h:Ljava/util/List;

    invoke-interface {v1, p1}, Ljava/util/List;->contains(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_1

    :cond_0
    :goto_0
    return v0

    :cond_1
    iget-object v1, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->h:Ljava/util/List;

    invoke-interface {v1}, Ljava/util/List;->size()I

    move-result v1

    add-int/lit8 v1, v1, -0x1

    iget v2, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->g:I

    if-ge v1, v2, :cond_0

    iget-object v1, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->h:Ljava/util/List;

    invoke-interface {v1}, Ljava/util/List;->size()I

    move-result v1

    add-int/lit8 v1, v1, -0x1

    if-gez v1, :cond_3

    :goto_1
    iget-object v1, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->h:Ljava/util/List;

    invoke-interface {v1, v0, p1}, Ljava/util/List;->add(ILjava/lang/Object;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->P:Lcom/waiqin365/lightapp/syorder/view/ac;

    if-eqz v0, :cond_2

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->P:Lcom/waiqin365/lightapp/syorder/view/ac;

    invoke-interface {v0}, Lcom/waiqin365/lightapp/syorder/view/ac;->a()V

    :cond_2
    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->i:Lcom/waiqin365/lightapp/syorder/view/w;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/syorder/view/w;->notifyDataSetChanged()V

    const/4 v0, 0x1

    goto :goto_0

    :cond_3
    move v0, v1

    goto :goto_1
.end method

.method public a(Ljava/util/List;)Z
    .locals 3

    const/4 v0, 0x0

    if-nez p1, :cond_1

    :cond_0
    :goto_0
    return v0

    :cond_1
    iget-object v1, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->h:Ljava/util/List;

    invoke-interface {v1}, Ljava/util/List;->size()I

    move-result v1

    add-int/lit8 v1, v1, -0x1

    iget v2, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->g:I

    if-ge v1, v2, :cond_0

    iget-object v1, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->h:Ljava/util/List;

    invoke-interface {v1}, Ljava/util/List;->size()I

    move-result v1

    add-int/lit8 v1, v1, -0x1

    invoke-interface {p1}, Ljava/util/List;->size()I

    move-result v2

    add-int/2addr v1, v2

    iget v2, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->g:I

    if-gt v1, v2, :cond_0

    invoke-interface {p1}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v1

    :goto_1
    invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-eqz v0, :cond_2

    invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/b/b;

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->a(Lcom/waiqin365/lightapp/b/b;)Z

    goto :goto_1

    :cond_2
    const/4 v0, 0x1

    goto :goto_0
.end method

.method protected b(Lcom/waiqin365/lightapp/b/b;)V
    .locals 4

    if-eqz p1, :cond_3

    iget-object v0, p1, Lcom/waiqin365/lightapp/b/b;->b:Ljava/lang/String;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_3

    new-instance v0, Ljava/io/File;

    iget-object v1, p1, Lcom/waiqin365/lightapp/b/b;->b:Ljava/lang/String;

    invoke-direct {v0, v1}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    invoke-virtual {v0}, Ljava/io/File;->exists()Z

    move-result v1

    if-eqz v1, :cond_0

    invoke-virtual {v0}, Ljava/io/File;->delete()Z

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->L:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->iterator()Ljava/util/Iterator;

    move-result-object v1

    :cond_1
    :goto_0
    invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-eqz v0, :cond_2

    invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/compons/camera/a/a;

    iget-object v2, p1, Lcom/waiqin365/lightapp/b/b;->b:Ljava/lang/String;

    iget-object v3, v0, Lcom/waiqin365/compons/camera/a/a;->b:Ljava/lang/String;

    invoke-virtual {v2, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_1

    iget-object v2, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->M:Ljava/util/ArrayList;

    invoke-virtual {v2, v0}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    goto :goto_0

    :cond_2
    const/4 v0, 0x0

    move v1, v0

    :goto_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->S:Ljava/util/ArrayList;

    if-eqz v0, :cond_3

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->S:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-ge v1, v0, :cond_3

    iget-object v2, p1, Lcom/waiqin365/lightapp/b/b;->b:Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->S:Ljava/util/ArrayList;

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/CharSequence;

    invoke-virtual {v2, v0}, Ljava/lang/String;->contains(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_4

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->S:Ljava/util/ArrayList;

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->remove(I)Ljava/lang/Object;

    :cond_3
    return-void

    :cond_4
    add-int/lit8 v0, v1, 0x1

    move v1, v0

    goto :goto_1
.end method

.method protected b(Z)V
    .locals 6

    const/4 v1, 0x1

    iget v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->g:I

    iget-object v2, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->h:Ljava/util/List;

    invoke-interface {v2}, Ljava/util/List;->size()I

    move-result v2

    if-ne v0, v2, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->h:Ljava/util/List;

    iget-object v2, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->h:Ljava/util/List;

    invoke-interface {v2}, Ljava/util/List;->size()I

    move-result v2

    add-int/lit8 v2, v2, -0x1

    invoke-interface {v0, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/b/b;

    iget-object v0, v0, Lcom/waiqin365/lightapp/b/b;->b:Ljava/lang/String;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_0

    :goto_0
    return-void

    :cond_0
    invoke-static {}, Landroid/os/Environment;->getExternalStorageState()Ljava/lang/String;

    move-result-object v0

    const-string/jumbo v2, "mounted"

    invoke-virtual {v0, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_1

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->getContext()Landroid/content/Context;

    move-result-object v0

    const v2, 0x7f0806b8

    invoke-virtual {v0, v2}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->getContext()Landroid/content/Context;

    move-result-object v2

    invoke-static {v2, v0, v1}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;I)V

    goto :goto_0

    :cond_1
    invoke-static {}, Lcom/waiqin365/lightapp/view/a/b;->a()Ljava/util/Observable;

    move-result-object v0

    invoke-virtual {v0, p0}, Ljava/util/Observable;->addObserver(Ljava/util/Observer;)V

    new-instance v2, Landroid/content/Intent;

    invoke-direct {v2}, Landroid/content/Intent;-><init>()V

    const-string/jumbo v0, "returnTo"

    iget-object v3, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->n:Ljava/lang/String;

    invoke-virtual {v2, v0, v3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    new-instance v3, Landroid/os/Bundle;

    invoke-direct {v3}, Landroid/os/Bundle;-><init>()V

    const-string/jumbo v0, "pwidth"

    iget v4, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->x:I

    invoke-virtual {v3, v0, v4}, Landroid/os/Bundle;->putInt(Ljava/lang/String;I)V

    const-string/jumbo v0, "viewId"

    new-instance v4, Ljava/lang/StringBuilder;

    invoke-direct {v4}, Ljava/lang/StringBuilder;-><init>()V

    iget v5, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->F:I

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v4

    const-string/jumbo v5, ""

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v3, v0, v4}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    const-string/jumbo v0, "localPhotoList"

    iget-object v4, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->y:Ljava/util/ArrayList;

    invoke-virtual {v3, v0, v4}, Landroid/os/Bundle;->putStringArrayList(Ljava/lang/String;Ljava/util/ArrayList;)V

    const-string/jumbo v0, "nums"

    iget v4, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->g:I

    iget-object v5, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->h:Ljava/util/List;

    invoke-interface {v5}, Ljava/util/List;->size()I

    move-result v5

    sub-int/2addr v4, v5

    add-int/lit8 v4, v4, 0x1

    invoke-virtual {v3, v0, v4}, Landroid/os/Bundle;->putInt(Ljava/lang/String;I)V

    const-string/jumbo v4, "singleMode"

    iget v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->g:I

    if-le v0, v1, :cond_2

    const/4 v0, 0x0

    :goto_1
    invoke-virtual {v3, v4, v0}, Landroid/os/Bundle;->putBoolean(Ljava/lang/String;Z)V

    const-string/jumbo v0, "isWaterMark"

    invoke-virtual {v3, v0, p1}, Landroid/os/Bundle;->putBoolean(Ljava/lang/String;Z)V

    const-string/jumbo v0, "photoType"

    iget-object v1, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->z:Ljava/lang/String;

    invoke-virtual {v3, v0, v1}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    const-string/jumbo v0, "customerName"

    iget-object v1, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->A:Ljava/lang/String;

    invoke-virtual {v3, v0, v1}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    const-string/jumbo v0, "cmLocation"

    iget-object v1, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->B:Ljava/lang/String;

    invoke-virtual {v3, v0, v1}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->getContext()Landroid/content/Context;

    move-result-object v0

    invoke-static {v0}, Lcom/fiberhome/gaea/client/d/a;->e(Landroid/content/Context;)V

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->getContext()Landroid/content/Context;

    move-result-object v0

    const-class v1, Lcom/waiqin365/compons/camera/ContinueCameraActivity;

    invoke-virtual {v2, v0, v1}, Landroid/content/Intent;->setClass(Landroid/content/Context;Ljava/lang/Class;)Landroid/content/Intent;

    invoke-virtual {v2, v3}, Landroid/content/Intent;->putExtras(Landroid/os/Bundle;)Landroid/content/Intent;

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->getContext()Landroid/content/Context;

    move-result-object v0

    check-cast v0, Landroid/app/Activity;

    invoke-virtual {v0, v2}, Landroid/app/Activity;->startActivity(Landroid/content/Intent;)V

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->getContext()Landroid/content/Context;

    move-result-object v0

    check-cast v0, Landroid/app/Activity;

    const v1, 0x7f040022

    const v2, 0x7f040021

    invoke-virtual {v0, v1, v2}, Landroid/app/Activity;->overridePendingTransition(II)V

    goto/16 :goto_0

    :cond_2
    move v0, v1

    goto :goto_1
.end method

.method public c()Ljava/lang/CharSequence;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->c:Landroid/widget/TextView;

    invoke-virtual {v0}, Landroid/widget/TextView;->getText()Ljava/lang/CharSequence;

    move-result-object v0

    invoke-interface {v0}, Ljava/lang/CharSequence;->toString()Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method public c_()Z
    .locals 1

    iget-boolean v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->Q:Z

    return v0
.end method

.method public d()Ljava/lang/CharSequence;
    .locals 7

    new-instance v3, Ljava/lang/StringBuilder;

    invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->h:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    if-eqz v0, :cond_2

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->h:Ljava/util/List;

    iget-object v1, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->h:Ljava/util/List;

    invoke-interface {v1}, Ljava/util/List;->size()I

    move-result v1

    add-int/lit8 v1, v1, -0x1

    invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/b/b;

    iget-object v0, v0, Lcom/waiqin365/lightapp/b/b;->b:Ljava/lang/String;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_2

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->h:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    add-int/lit8 v0, v0, -0x1

    move v1, v0

    :goto_0
    const/4 v0, 0x0

    move v2, v0

    :goto_1
    if-ge v2, v1, :cond_4

    if-eqz v2, :cond_0

    const-string/jumbo v0, ","

    invoke-virtual {v3, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->h:Ljava/util/List;

    invoke-interface {v0, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/b/b;

    iget-object v0, v0, Lcom/waiqin365/lightapp/b/b;->b:Ljava/lang/String;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v4

    if-nez v4, :cond_3

    const-string/jumbo v4, "http://"

    invoke-virtual {v0, v4}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result v4

    if-eqz v4, :cond_3

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v4

    iget-object v5, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->a:Landroid/content/Context;

    invoke-virtual {v4, v5}, Lcom/waiqin365/base/login/mainview/a;->k(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v0, v4}, Ljava/lang/String;->contains(Ljava/lang/CharSequence;)Z

    move-result v5

    if-eqz v5, :cond_1

    invoke-virtual {v0, v4}, Ljava/lang/String;->indexOf(Ljava/lang/String;)I

    move-result v5

    invoke-virtual {v4}, Ljava/lang/String;->length()I

    move-result v4

    add-int/2addr v4, v5

    add-int/lit8 v4, v4, 0x1

    invoke-virtual {v0, v4}, Ljava/lang/String;->substring(I)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v3, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    :cond_1
    :goto_2
    add-int/lit8 v0, v2, 0x1

    move v2, v0

    goto :goto_1

    :cond_2
    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->h:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    move v1, v0

    goto :goto_0

    :cond_3
    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v0

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->getContext()Landroid/content/Context;

    move-result-object v4

    invoke-virtual {v0, v4}, Lcom/waiqin365/base/login/mainview/a;->i(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v4

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->h:Ljava/util/List;

    invoke-interface {v0, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/b/b;

    iget-object v0, v0, Lcom/waiqin365/lightapp/b/b;->b:Ljava/lang/String;

    const-string/jumbo v5, "/"

    invoke-virtual {v0, v5}, Ljava/lang/String;->lastIndexOf(Ljava/lang/String;)I

    move-result v5

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->h:Ljava/util/List;

    invoke-interface {v0, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/b/b;

    iget-object v6, v0, Lcom/waiqin365/lightapp/b/b;->b:Ljava/lang/String;

    add-int/lit8 v5, v5, 0x1

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->h:Ljava/util/List;

    invoke-interface {v0, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/b/b;

    iget-object v0, v0, Lcom/waiqin365/lightapp/b/b;->b:Ljava/lang/String;

    invoke-virtual {v0}, Ljava/lang/String;->length()I

    move-result v0

    invoke-virtual {v6, v5, v0}, Ljava/lang/String;->substring(II)Ljava/lang/String;

    move-result-object v0

    const-string/jumbo v5, "cm/"

    invoke-virtual {v3, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v5

    invoke-virtual {v5, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    const-string/jumbo v5, "/"

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v3, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    goto :goto_2

    :cond_4
    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method public dispatchTouchEvent(Landroid/view/MotionEvent;)Z
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->O:Lcom/waiqin365/lightapp/syorder/view/aa;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->O:Lcom/waiqin365/lightapp/syorder/view/aa;

    invoke-interface {v0, p0, p1}, Lcom/waiqin365/lightapp/syorder/view/aa;->a(Landroid/view/View;Landroid/view/MotionEvent;)V

    :cond_0
    invoke-super {p0, p1}, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->dispatchTouchEvent(Landroid/view/MotionEvent;)Z

    move-result v0

    return v0
.end method

.method protected e()V
    .locals 3

    new-instance v0, Ljava/text/SimpleDateFormat;

    const-string/jumbo v1, "yyyy-MM-dd HH:mm:ss SSS"

    invoke-direct {v0, v1}, Ljava/text/SimpleDateFormat;-><init>(Ljava/lang/String;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->D:Ljava/text/SimpleDateFormat;

    invoke-static {}, Ljava/util/Calendar;->getInstance()Ljava/util/Calendar;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->E:Ljava/util/Calendar;

    new-instance v0, Ljava/text/SimpleDateFormat;

    const-string/jumbo v1, "HHmmssSSS"

    sget-object v2, Ljava/util/Locale;->ENGLISH:Ljava/util/Locale;

    invoke-direct {v0, v1, v2}, Ljava/text/SimpleDateFormat;-><init>(Ljava/lang/String;Ljava/util/Locale;)V

    iget-object v1, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->E:Ljava/util/Calendar;

    invoke-virtual {v1}, Ljava/util/Calendar;->getTime()Ljava/util/Date;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/text/SimpleDateFormat;->format(Ljava/util/Date;)Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I

    move-result v0

    iput v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->F:I

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->y:Ljava/util/ArrayList;

    new-instance v0, Lcom/waiqin365/lightapp/syorder/view/w;

    invoke-direct {v0, p0}, Lcom/waiqin365/lightapp/syorder/view/w;-><init>(Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->i:Lcom/waiqin365/lightapp/syorder/view/w;

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->getContext()Landroid/content/Context;

    move-result-object v0

    const v1, 0x7f03024c

    const/4 v2, 0x0

    invoke-static {v0, v1, v2}, Landroid/view/View;->inflate(Landroid/content/Context;ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v1

    const v0, 0x7f0c086e

    invoke-virtual {v1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->b:Landroid/widget/LinearLayout;

    const v0, 0x7f0c0084

    invoke-virtual {v1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->c:Landroid/widget/TextView;

    const v0, 0x7f0c086f

    invoke-virtual {v1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->d:Landroid/widget/TextView;

    const v0, 0x7f0c0870

    invoke-virtual {v1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->e:Landroid/widget/TextView;

    const v0, 0x7f0c0872

    invoke-virtual {v1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/GridView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->f:Landroid/widget/GridView;

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->f:Landroid/widget/GridView;

    iget-object v2, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->i:Lcom/waiqin365/lightapp/syorder/view/w;

    invoke-virtual {v0, v2}, Landroid/widget/GridView;->setAdapter(Landroid/widget/ListAdapter;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->i:Lcom/waiqin365/lightapp/syorder/view/w;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/syorder/view/w;->notifyDataSetChanged()V

    const v0, 0x7f0c0083

    invoke-virtual {v1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->I:Landroid/view/View;

    const v0, 0x7f0c0871

    invoke-virtual {v1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->J:Landroid/view/View;

    const v0, 0x7f0c005a

    invoke-virtual {v1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->K:Landroid/view/View;

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->addView(Landroid/view/View;)V

    return-void
.end method

.method public f()Ljava/util/List;
    .locals 3

    const/4 v2, 0x0

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->h:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->h:Ljava/util/List;

    iget-object v1, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->h:Ljava/util/List;

    invoke-interface {v1}, Ljava/util/List;->size()I

    move-result v1

    add-int/lit8 v1, v1, -0x1

    invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/b/b;

    iget-object v0, v0, Lcom/waiqin365/lightapp/b/b;->b:Ljava/lang/String;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->h:Ljava/util/List;

    iget-object v1, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->h:Ljava/util/List;

    invoke-interface {v1}, Ljava/util/List;->size()I

    move-result v1

    add-int/lit8 v1, v1, -0x1

    invoke-interface {v0, v2, v1}, Ljava/util/List;->subList(II)Ljava/util/List;

    move-result-object v0

    :goto_0
    return-object v0

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->h:Ljava/util/List;

    iget-object v1, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->h:Ljava/util/List;

    invoke-interface {v1}, Ljava/util/List;->size()I

    move-result v1

    invoke-interface {v0, v2, v1}, Ljava/util/List;->subList(II)Ljava/util/List;

    move-result-object v0

    goto :goto_0
.end method

.method public g()Ljava/lang/String;
    .locals 1

    const-string/jumbo v0, ""

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->a(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method protected h()V
    .locals 6

    const/4 v5, 0x0

    iget v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->g:I

    iget-object v1, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->h:Ljava/util/List;

    invoke-interface {v1}, Ljava/util/List;->size()I

    move-result v1

    if-ne v0, v1, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->h:Ljava/util/List;

    iget-object v1, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->h:Ljava/util/List;

    invoke-interface {v1}, Ljava/util/List;->size()I

    move-result v1

    add-int/lit8 v1, v1, -0x1

    invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/b/b;

    iget-object v0, v0, Lcom/waiqin365/lightapp/b/b;->b:Ljava/lang/String;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_0

    :goto_0
    return-void

    :cond_0
    new-instance v0, Lcom/waiqin365/lightapp/view/a;

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->getContext()Landroid/content/Context;

    move-result-object v1

    invoke-direct {v0, v1}, Lcom/waiqin365/lightapp/view/a;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->w:Lcom/waiqin365/lightapp/view/a;

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->w:Lcom/waiqin365/lightapp/view/a;

    const/4 v1, 0x2

    new-array v1, v1, [Ljava/lang/String;

    invoke-static {}, Lcom/fiberhome/gaea/client/base/ExmobiApp;->b()Lcom/fiberhome/gaea/client/base/ExmobiApp;

    move-result-object v2

    const v3, 0x7f0802bb

    invoke-virtual {v2, v3}, Lcom/fiberhome/gaea/client/base/ExmobiApp;->getString(I)Ljava/lang/String;

    move-result-object v2

    aput-object v2, v1, v5

    const/4 v2, 0x1

    invoke-static {}, Lcom/fiberhome/gaea/client/base/ExmobiApp;->b()Lcom/fiberhome/gaea/client/base/ExmobiApp;

    move-result-object v3

    const v4, 0x7f0802ba

    invoke-virtual {v3, v4}, Lcom/fiberhome/gaea/client/base/ExmobiApp;->getString(I)Ljava/lang/String;

    move-result-object v3

    aput-object v3, v1, v2

    new-instance v2, Lcom/waiqin365/lightapp/syorder/view/u;

    invoke-direct {v2, p0}, Lcom/waiqin365/lightapp/syorder/view/u;-><init>(Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;)V

    invoke-virtual {v0, v1, v2}, Lcom/waiqin365/lightapp/view/a;->a([Ljava/lang/String;Lcom/waiqin365/lightapp/view/l;)V

    iget-object v1, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->w:Lcom/waiqin365/lightapp/view/a;

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->getContext()Landroid/content/Context;

    move-result-object v0

    check-cast v0, Landroid/app/Activity;

    invoke-virtual {v0}, Landroid/app/Activity;->getWindow()Landroid/view/Window;

    move-result-object v0

    invoke-virtual {v0}, Landroid/view/Window;->getDecorView()Landroid/view/View;

    move-result-object v0

    const/16 v2, 0x51

    invoke-virtual {v1, v0, v2, v5, v5}, Lcom/waiqin365/lightapp/view/a;->showAtLocation(Landroid/view/View;III)V

    goto :goto_0
.end method

.method protected i()V
    .locals 6

    new-instance v1, Ljava/util/ArrayList;

    invoke-direct {v1}, Ljava/util/ArrayList;-><init>()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->L:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->iterator()Ljava/util/Iterator;

    move-result-object v2

    :goto_0
    invoke-interface {v2}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-eqz v0, :cond_0

    invoke-interface {v2}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/compons/camera/a/a;

    iget-object v0, v0, Lcom/waiqin365/compons/camera/a/a;->a:Ljava/lang/String;

    invoke-virtual {v1, v0}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    goto :goto_0

    :cond_0
    invoke-static {}, Lcom/waiqin365/lightapp/view/a/b;->a()Ljava/util/Observable;

    move-result-object v0

    invoke-virtual {v0, p0}, Ljava/util/Observable;->addObserver(Ljava/util/Observer;)V

    new-instance v2, Landroid/content/Intent;

    invoke-direct {v2}, Landroid/content/Intent;-><init>()V

    const-string/jumbo v0, "returnTo"

    iget-object v3, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->n:Ljava/lang/String;

    invoke-virtual {v2, v0, v3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    new-instance v0, Landroid/os/Bundle;

    invoke-direct {v0}, Landroid/os/Bundle;-><init>()V

    const-string/jumbo v3, "pwidth"

    iget v4, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->x:I

    invoke-virtual {v0, v3, v4}, Landroid/os/Bundle;->putInt(Ljava/lang/String;I)V

    const-string/jumbo v3, "nums"

    iget v4, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->g:I

    iget-object v5, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->h:Ljava/util/List;

    invoke-interface {v5}, Ljava/util/List;->size()I

    move-result v5

    sub-int/2addr v4, v5

    add-int/lit8 v4, v4, 0x1

    invoke-virtual {v0, v3, v4}, Landroid/os/Bundle;->putInt(Ljava/lang/String;I)V

    const-string/jumbo v3, "viewId"

    new-instance v4, Ljava/lang/StringBuilder;

    invoke-direct {v4}, Ljava/lang/StringBuilder;-><init>()V

    iget v5, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->F:I

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v4

    const-string/jumbo v5, ""

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v0, v3, v4}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    const-string/jumbo v3, "selectedList"

    invoke-virtual {v0, v3, v1}, Landroid/os/Bundle;->putSerializable(Ljava/lang/String;Ljava/io/Serializable;)V

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->getContext()Landroid/content/Context;

    move-result-object v1

    const-class v3, Lcom/waiqin365/compons/camera/CameraAlbumActivity;

    invoke-virtual {v2, v1, v3}, Landroid/content/Intent;->setClass(Landroid/content/Context;Ljava/lang/Class;)Landroid/content/Intent;

    invoke-virtual {v2, v0}, Landroid/content/Intent;->putExtras(Landroid/os/Bundle;)Landroid/content/Intent;

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->getContext()Landroid/content/Context;

    move-result-object v0

    check-cast v0, Landroid/app/Activity;

    invoke-virtual {v0, v2}, Landroid/app/Activity;->startActivity(Landroid/content/Intent;)V

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->getContext()Landroid/content/Context;

    move-result-object v0

    check-cast v0, Landroid/app/Activity;

    const v1, 0x7f040022

    const v2, 0x7f040021

    invoke-virtual {v0, v1, v2}, Landroid/app/Activity;->overridePendingTransition(II)V

    return-void
.end method

.method public o()V
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->a:Landroid/content/Context;

    instance-of v0, v0, Landroid/app/Activity;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->a:Landroid/content/Context;

    check-cast v0, Landroid/app/Activity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/dailyreport/util/a;->a(Landroid/app/Activity;)V

    :cond_0
    invoke-virtual {p0}, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->p()V

    iget-boolean v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->t:Z

    if-eqz v0, :cond_1

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->h()V

    :goto_0
    return-void

    :cond_1
    invoke-direct {p0}, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->r()V

    goto :goto_0
.end method

.method protected onDetachedFromWindow()V
    .locals 1

    invoke-static {}, Lcom/waiqin365/lightapp/view/a/b;->a()Ljava/util/Observable;

    move-result-object v0

    invoke-virtual {v0, p0}, Ljava/util/Observable;->deleteObserver(Ljava/util/Observer;)V

    invoke-super {p0}, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->onDetachedFromWindow()V

    return-void
.end method

.method protected p()V
    .locals 2

    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    const-string/jumbo v1, "ImagePreview"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->m()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    sput-object v0, Lcom/fiberhome/gaea/client/c/b;->a:Ljava/lang/String;

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->setTag(Ljava/lang/Object;)V

    return-void
.end method

.method public q()I
    .locals 1

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->f()Ljava/util/List;

    move-result-object v0

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    return v0
.end method

.method public setAllowSelect(Z)V
    .locals 0

    iput-boolean p1, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->t:Z

    return-void
.end method

.method public setBottomLineStatus(Z)V
    .locals 2

    iget-object v1, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->K:Landroid/view/View;

    if-eqz p1, :cond_0

    const/4 v0, 0x0

    :goto_0
    invoke-virtual {v1, v0}, Landroid/view/View;->setVisibility(I)V

    return-void

    :cond_0
    const/16 v0, 0x8

    goto :goto_0
.end method

.method public setCmLocation(Ljava/lang/String;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->B:Ljava/lang/String;

    return-void
.end method

.method public setCusFormPhoto(Ljava/lang/String;Ljava/lang/String;)V
    .locals 1

    const/4 v0, -0x1

    invoke-static {p1, v0}, Lcom/fiberhome/gaea/client/d/k;->a(Ljava/lang/String;I)I

    move-result v0

    iput v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->F:I

    iget v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->F:I

    if-lez v0, :cond_0

    invoke-virtual {p0, p2}, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->setPhotos(Ljava/lang/String;)V

    :cond_0
    return-void
.end method

.method public setCusFormPrefix(Ljava/lang/String;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->R:Ljava/lang/String;

    return-void
.end method

.method public setCustomerName(Ljava/lang/String;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->A:Ljava/lang/String;

    return-void
.end method

.method public setDispathTouchEventListener(Lcom/waiqin365/lightapp/syorder/view/aa;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->O:Lcom/waiqin365/lightapp/syorder/view/aa;

    return-void
.end method

.method public setEdit(Z)V
    .locals 1

    if-eqz p1, :cond_0

    const/4 v0, 0x2

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->setType(I)V

    :goto_0
    return-void

    :cond_0
    const/4 v0, 0x1

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->setType(I)V

    goto :goto_0
.end method

.method public setImagePreviewImageDataChangeListener(Lcom/waiqin365/lightapp/syorder/view/ab;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->H:Lcom/waiqin365/lightapp/syorder/view/ab;

    return-void
.end method

.method public setLabel(Ljava/lang/CharSequence;)V
    .locals 0

    invoke-virtual {p0, p1}, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->setTitle(Ljava/lang/CharSequence;)V

    return-void
.end method

.method public setLabelColor(I)V
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->c:Landroid/widget/TextView;

    invoke-virtual {v0, p1}, Landroid/widget/TextView;->setTextColor(I)V

    return-void
.end method

.method public setMax(I)V
    .locals 5

    const/16 v4, 0x8

    const/4 v3, 0x0

    iput p1, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->g:I

    iget-boolean v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->T:Z

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->e:Landroid/widget/TextView;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string/jumbo v2, "(0/"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string/jumbo v2, ")"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->d:Landroid/widget/TextView;

    invoke-virtual {v0, v4}, Landroid/widget/TextView;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->e:Landroid/widget/TextView;

    invoke-virtual {v0, v3}, Landroid/widget/TextView;->setVisibility(I)V

    :goto_0
    return-void

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->d:Landroid/widget/TextView;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string/jumbo v2, "(0/"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string/jumbo v2, ")"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->d:Landroid/widget/TextView;

    invoke-virtual {v0, v3}, Landroid/widget/TextView;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->e:Landroid/widget/TextView;

    invoke-virtual {v0, v4}, Landroid/widget/TextView;->setVisibility(I)V

    goto :goto_0
.end method

.method public setMaxPic(I)V
    .locals 0

    invoke-virtual {p0, p1}, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->setMax(I)V

    return-void
.end method

.method public setMustinput(Ljava/lang/String;)V
    .locals 3

    const/4 v2, 0x4

    const/4 v1, 0x0

    invoke-super {p0, p1}, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->setMustinput(Ljava/lang/String;)V

    const-string/jumbo v0, "1"

    invoke-virtual {v0, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->I:Landroid/view/View;

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->J:Landroid/view/View;

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    :goto_0
    return-void

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->I:Landroid/view/View;

    invoke-virtual {v0, v2}, Landroid/view/View;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->J:Landroid/view/View;

    invoke-virtual {v0, v2}, Landroid/view/View;->setVisibility(I)V

    goto :goto_0
.end method

.method public setNetPicUrls(Ljava/lang/String;)V
    .locals 4

    const-string/jumbo v0, ""

    new-instance v1, Ljava/util/ArrayList;

    invoke-direct {v1}, Ljava/util/ArrayList;-><init>()V

    iput-object v1, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->S:Ljava/util/ArrayList;

    const-string/jumbo v1, "localPathTTT"

    invoke-virtual {p1, v1}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_1

    const-string/jumbo v1, "localPathTTT"

    invoke-virtual {p1, v1}, Ljava/lang/String;->split(Ljava/lang/String;)[Ljava/lang/String;

    move-result-object v1

    array-length v2, v1

    const/4 v3, 0x3

    if-ne v2, v3, :cond_0

    const/4 v0, 0x2

    aget-object v0, v1, v0

    :cond_0
    :goto_0
    const/16 v1, 0x2c

    iget-object v2, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->S:Ljava/util/ArrayList;

    invoke-static {v0, v1, v2}, Lcom/fiberhome/gaea/client/d/k;->a(Ljava/lang/String;CLjava/util/ArrayList;)V

    return-void

    :cond_1
    move-object v0, p1

    goto :goto_0
.end method

.method public setPadding(IIII)V
    .locals 7

    const/4 v6, 0x0

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->c:Landroid/widget/TextView;

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->getContext()Landroid/content/Context;

    move-result-object v1

    int-to-float v2, p1

    invoke-static {v1, v2}, Lcom/fiberhome/gaea/client/d/k;->a(Landroid/content/Context;F)I

    move-result v1

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->getContext()Landroid/content/Context;

    move-result-object v2

    int-to-float v3, p2

    invoke-static {v2, v3}, Lcom/fiberhome/gaea/client/d/k;->a(Landroid/content/Context;F)I

    move-result v2

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->getContext()Landroid/content/Context;

    move-result-object v3

    int-to-float v4, p3

    invoke-static {v3, v4}, Lcom/fiberhome/gaea/client/d/k;->a(Landroid/content/Context;F)I

    move-result v3

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->getContext()Landroid/content/Context;

    move-result-object v4

    int-to-float v5, p4

    invoke-static {v4, v5}, Lcom/fiberhome/gaea/client/d/k;->a(Landroid/content/Context;F)I

    move-result v4

    invoke-virtual {v0, v1, v2, v3, v4}, Landroid/widget/TextView;->setPadding(IIII)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->d:Landroid/widget/TextView;

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->getContext()Landroid/content/Context;

    move-result-object v1

    int-to-float v2, p4

    invoke-static {v1, v2}, Lcom/fiberhome/gaea/client/d/k;->a(Landroid/content/Context;F)I

    move-result v1

    invoke-virtual {v0, v6, v6, v6, v1}, Landroid/widget/TextView;->setPadding(IIII)V

    return-void
.end method

.method public setPhotoDir(Ljava/lang/String;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->C:Ljava/lang/String;

    return-void
.end method

.method public setPhotoType(Ljava/lang/String;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->z:Ljava/lang/String;

    return-void
.end method

.method public setPhotos(Ljava/lang/String;)V
    .locals 6

    const/4 v1, 0x0

    if-eqz p1, :cond_4

    invoke-virtual {p1}, Ljava/lang/String;->length()I

    move-result v0

    if-lez v0, :cond_4

    iput-object p1, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->C:Ljava/lang/String;

    new-instance v0, Ljava/io/File;

    invoke-direct {v0, p1}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    invoke-virtual {v0}, Ljava/io/File;->exists()Z

    move-result v2

    if-eqz v2, :cond_4

    invoke-virtual {v0}, Ljava/io/File;->isDirectory()Z

    move-result v2

    if-eqz v2, :cond_4

    new-instance v2, Lcom/waiqin365/lightapp/syorder/view/v;

    invoke-direct {v2, p0}, Lcom/waiqin365/lightapp/syorder/view/v;-><init>(Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;)V

    invoke-virtual {v0, v2}, Ljava/io/File;->listFiles(Ljava/io/FilenameFilter;)[Ljava/io/File;

    move-result-object v2

    array-length v0, v2

    new-array v3, v0, [Lcom/waiqin365/compons/camera/a/b;

    move v0, v1

    :goto_0
    array-length v4, v2

    if-ge v0, v4, :cond_0

    new-instance v4, Lcom/waiqin365/compons/camera/a/b;

    aget-object v5, v2, v0

    invoke-direct {v4, v5}, Lcom/waiqin365/compons/camera/a/b;-><init>(Ljava/io/File;)V

    aput-object v4, v3, v0

    add-int/lit8 v0, v0, 0x1

    goto :goto_0

    :cond_0
    invoke-static {v3}, Ljava/util/Arrays;->sort([Ljava/lang/Object;)V

    move v0, v1

    :goto_1
    array-length v4, v2

    if-ge v0, v4, :cond_1

    aget-object v4, v3, v0

    invoke-virtual {v4}, Lcom/waiqin365/compons/camera/a/b;->a()Ljava/io/File;

    move-result-object v4

    aput-object v4, v2, v0

    add-int/lit8 v0, v0, 0x1

    goto :goto_1

    :cond_1
    :goto_2
    array-length v0, v2

    if-ge v1, v0, :cond_4

    aget-object v0, v2, v1

    invoke-virtual {v0}, Ljava/io/File;->getAbsolutePath()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/String;->toLowerCase()Ljava/lang/String;

    move-result-object v3

    const-string/jumbo v4, "jpg"

    invoke-virtual {v3, v4}, Ljava/lang/String;->endsWith(Ljava/lang/String;)Z

    move-result v3

    if-nez v3, :cond_2

    invoke-virtual {v0}, Ljava/lang/String;->toLowerCase()Ljava/lang/String;

    move-result-object v3

    const-string/jumbo v4, "jpeg"

    invoke-virtual {v3, v4}, Ljava/lang/String;->endsWith(Ljava/lang/String;)Z

    move-result v3

    if-nez v3, :cond_2

    invoke-virtual {v0}, Ljava/lang/String;->toLowerCase()Ljava/lang/String;

    move-result-object v3

    const-string/jumbo v4, "png"

    invoke-virtual {v3, v4}, Ljava/lang/String;->endsWith(Ljava/lang/String;)Z

    move-result v3

    if-eqz v3, :cond_3

    :cond_2
    iget-object v3, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->h:Ljava/util/List;

    invoke-interface {v3}, Ljava/util/List;->size()I

    move-result v3

    add-int/lit8 v3, v3, -0x1

    iget v4, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->g:I

    if-ge v3, v4, :cond_4

    new-instance v3, Lcom/waiqin365/lightapp/b/b;

    invoke-direct {v3}, Lcom/waiqin365/lightapp/b/b;-><init>()V

    iput-object v0, v3, Lcom/waiqin365/lightapp/b/b;->a:Ljava/lang/String;

    iput-object v0, v3, Lcom/waiqin365/lightapp/b/b;->b:Ljava/lang/String;

    invoke-virtual {p0, v3}, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->a(Lcom/waiqin365/lightapp/b/b;)Z

    :cond_3
    add-int/lit8 v1, v1, 0x1

    goto :goto_2

    :cond_4
    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->i:Lcom/waiqin365/lightapp/syorder/view/w;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/syorder/view/w;->notifyDataSetChanged()V

    return-void
.end method

.method public setPicSizeChangeListener(Lcom/waiqin365/lightapp/syorder/view/ac;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->P:Lcom/waiqin365/lightapp/syorder/view/ac;

    return-void
.end method

.method public setPicUrl(Ljava/lang/String;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->G:Ljava/lang/String;

    return-void
.end method

.method public setPicWidth(I)V
    .locals 0

    iput p1, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->x:I

    return-void
.end method

.method public setPwidth(I)V
    .locals 0

    iput p1, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->x:I

    return-void
.end method

.method public setSelectAlbumItemStr(Ljava/lang/String;)V
    .locals 7

    const/16 v6, 0x23

    const/4 v2, 0x0

    new-instance v3, Ljava/util/ArrayList;

    invoke-direct {v3}, Ljava/util/ArrayList;-><init>()V

    invoke-static {p1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_0

    const/16 v0, 0x2c

    invoke-static {p1, v0, v3}, Lcom/fiberhome/gaea/client/d/k;->a(Ljava/lang/String;CLjava/util/ArrayList;)V

    move v1, v2

    :goto_0
    invoke-virtual {v3}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-ge v1, v0, :cond_0

    new-instance v4, Lcom/waiqin365/compons/camera/a/a;

    invoke-direct {v4}, Lcom/waiqin365/compons/camera/a/a;-><init>()V

    invoke-virtual {v3, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    invoke-virtual {v0, v6}, Ljava/lang/String;->indexOf(I)I

    move-result v5

    invoke-virtual {v0, v2, v5}, Ljava/lang/String;->substring(II)Ljava/lang/String;

    move-result-object v5

    iput-object v5, v4, Lcom/waiqin365/compons/camera/a/a;->a:Ljava/lang/String;

    invoke-virtual {v0, v6}, Ljava/lang/String;->indexOf(I)I

    move-result v5

    add-int/lit8 v5, v5, 0x1

    invoke-virtual {v0, v5}, Ljava/lang/String;->substring(I)Ljava/lang/String;

    move-result-object v0

    iput-object v0, v4, Lcom/waiqin365/compons/camera/a/a;->b:Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->L:Ljava/util/ArrayList;

    invoke-virtual {v0, v4}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    add-int/lit8 v0, v1, 0x1

    move v1, v0

    goto :goto_0

    :cond_0
    return-void
.end method

.method public setTitle(Ljava/lang/CharSequence;)V
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->c:Landroid/widget/TextView;

    invoke-virtual {v0, p1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    return-void
.end method

.method public setTitleSize(F)V
    .locals 2

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->c:Landroid/widget/TextView;

    invoke-virtual {v0, p1}, Landroid/widget/TextView;->setTextSize(F)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->d:Landroid/widget/TextView;

    const/high16 v1, 0x40800000    # 4.0f

    sub-float v1, p1, v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setTextSize(F)V

    return-void
.end method

.method public setTitlevisibility(I)V
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->b:Landroid/widget/LinearLayout;

    invoke-virtual {v0, p1}, Landroid/widget/LinearLayout;->setVisibility(I)V

    return-void
.end method

.method public setType(I)V
    .locals 4

    const/4 v3, 0x4

    const/4 v0, 0x1

    const/4 v1, 0x0

    const/16 v2, 0x8

    if-ne p1, v0, :cond_0

    iput-boolean v1, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->s:Z

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->c:Landroid/widget/TextView;

    const/high16 v1, 0x41600000    # 14.0f

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setTextSize(F)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->I:Landroid/view/View;

    invoke-virtual {v0, v3}, Landroid/view/View;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->J:Landroid/view/View;

    invoke-virtual {v0, v3}, Landroid/view/View;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->d:Landroid/widget/TextView;

    invoke-virtual {v0, v2}, Landroid/widget/TextView;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->e:Landroid/widget/TextView;

    invoke-virtual {v0, v2}, Landroid/widget/TextView;->setVisibility(I)V

    const v0, 0x7fffffff

    iput v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->g:I

    :goto_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->i:Lcom/waiqin365/lightapp/syorder/view/w;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/syorder/view/w;->notifyDataSetChanged()V

    return-void

    :cond_0
    iput-boolean v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->s:Z

    iget-boolean v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->T:Z

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->d:Landroid/widget/TextView;

    invoke-virtual {v0, v2}, Landroid/widget/TextView;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->e:Landroid/widget/TextView;

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setVisibility(I)V

    goto :goto_0

    :cond_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->d:Landroid/widget/TextView;

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->e:Landroid/widget/TextView;

    invoke-virtual {v0, v2}, Landroid/widget/TextView;->setVisibility(I)V

    goto :goto_0
.end method

.method public setValue(Ljava/lang/String;)V
    .locals 9

    const/16 v8, 0x2c

    const/4 v3, 0x0

    const-string/jumbo v1, ""

    const-string/jumbo v0, ""

    new-instance v4, Ljava/util/ArrayList;

    invoke-direct {v4}, Ljava/util/ArrayList;-><init>()V

    new-instance v5, Ljava/util/ArrayList;

    invoke-direct {v5}, Ljava/util/ArrayList;-><init>()V

    const-string/jumbo v2, "localPathTTT"

    invoke-virtual {p1, v2}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result v2

    if-eqz v2, :cond_2

    const-string/jumbo v2, "localPathTTT"

    invoke-virtual {p1, v2}, Ljava/lang/String;->split(Ljava/lang/String;)[Ljava/lang/String;

    move-result-object v2

    array-length v6, v2

    const/4 v7, 0x3

    if-ne v6, v7, :cond_0

    const/4 v0, 0x1

    aget-object v0, v2, v0

    const/4 v1, 0x2

    aget-object v1, v2, v1

    :cond_0
    :goto_0
    invoke-static {v1, v8, v4}, Lcom/fiberhome/gaea/client/d/k;->a(Ljava/lang/String;CLjava/util/ArrayList;)V

    invoke-static {v0, v8, v5}, Lcom/fiberhome/gaea/client/d/k;->a(Ljava/lang/String;CLjava/util/ArrayList;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->G:Ljava/lang/String;

    if-eqz v0, :cond_4

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->G:Ljava/lang/String;

    const-string/jumbo v1, "http://"

    invoke-virtual {v0, v1}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_4

    move v2, v3

    :goto_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->G:Ljava/lang/String;

    if-eqz v0, :cond_4

    invoke-virtual {v4}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-ge v2, v0, :cond_4

    invoke-virtual {v4, v2}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    if-eqz v0, :cond_4

    invoke-virtual {v4, v2}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    const-string/jumbo v1, "."

    invoke-virtual {v0, v1}, Ljava/lang/String;->contains(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_4

    new-instance v6, Lcom/waiqin365/lightapp/b/b;

    invoke-direct {v6}, Lcom/waiqin365/lightapp/b/b;-><init>()V

    invoke-virtual {v4, v2}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    const-string/jumbo v1, "/"

    invoke-virtual {v0, v1}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result v0

    if-nez v0, :cond_3

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->G:Ljava/lang/String;

    const-string/jumbo v1, "/"

    invoke-virtual {v0, v1}, Ljava/lang/String;->endsWith(Ljava/lang/String;)Z

    move-result v0

    if-nez v0, :cond_3

    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v1, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->G:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v1, "/"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v7

    invoke-virtual {v4, v2}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    invoke-virtual {v4, v2}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Ljava/lang/String;

    const-string/jumbo v8, "."

    invoke-virtual {v1, v8}, Ljava/lang/String;->lastIndexOf(Ljava/lang/String;)I

    move-result v1

    invoke-virtual {v0, v3, v1}, Ljava/lang/String;->substring(II)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v7, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v1, "_small"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v7

    invoke-virtual {v4, v2}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    invoke-virtual {v4, v2}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Ljava/lang/String;

    const-string/jumbo v8, "."

    invoke-virtual {v1, v8}, Ljava/lang/String;->lastIndexOf(Ljava/lang/String;)I

    move-result v1

    invoke-virtual {v0, v1}, Ljava/lang/String;->substring(I)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v7, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    iput-object v0, v6, Lcom/waiqin365/lightapp/b/b;->a:Ljava/lang/String;

    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v1, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->G:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v1, "/"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v4, v2}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    iput-object v0, v6, Lcom/waiqin365/lightapp/b/b;->b:Ljava/lang/String;

    :goto_2
    invoke-virtual {v5}, Ljava/util/ArrayList;->size()I

    move-result v0

    invoke-virtual {v4}, Ljava/util/ArrayList;->size()I

    move-result v1

    if-ne v0, v1, :cond_1

    invoke-virtual {v5, v2}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    iput-object v0, v6, Lcom/waiqin365/lightapp/b/b;->c:Ljava/lang/String;

    :cond_1
    invoke-virtual {p0, v6}, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->a(Lcom/waiqin365/lightapp/b/b;)Z

    add-int/lit8 v0, v2, 0x1

    move v2, v0

    goto/16 :goto_1

    :cond_2
    move-object v1, p1

    goto/16 :goto_0

    :cond_3
    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v1, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->G:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v7

    invoke-virtual {v4, v2}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    invoke-virtual {v4, v2}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Ljava/lang/String;

    const-string/jumbo v8, "."

    invoke-virtual {v1, v8}, Ljava/lang/String;->lastIndexOf(Ljava/lang/String;)I

    move-result v1

    invoke-virtual {v0, v3, v1}, Ljava/lang/String;->substring(II)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v7, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v1, "_small"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v7

    invoke-virtual {v4, v2}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    invoke-virtual {v4, v2}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Ljava/lang/String;

    const-string/jumbo v8, "."

    invoke-virtual {v1, v8}, Ljava/lang/String;->lastIndexOf(Ljava/lang/String;)I

    move-result v1

    invoke-virtual {v0, v1}, Ljava/lang/String;->substring(I)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v7, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    iput-object v0, v6, Lcom/waiqin365/lightapp/b/b;->a:Ljava/lang/String;

    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v1, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->G:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v4, v2}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    iput-object v0, v6, Lcom/waiqin365/lightapp/b/b;->b:Ljava/lang/String;

    goto/16 :goto_2

    :cond_4
    if-eqz v4, :cond_5

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->S:Ljava/util/ArrayList;

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->S:Ljava/util/ArrayList;

    invoke-virtual {v0, v4}, Ljava/util/ArrayList;->addAll(Ljava/util/Collection;)Z

    :cond_5
    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->C:Ljava/lang/String;

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->setPhotos(Ljava/lang/String;)V

    return-void
.end method

.method public setVerShow(Z)V
    .locals 0

    iput-boolean p1, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->T:Z

    return-void
.end method

.method public setViewId(Ljava/lang/String;)V
    .locals 1

    invoke-static {p1}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I

    move-result v0

    iput v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->F:I

    return-void
.end method

.method public setViewIgnore(Z)V
    .locals 1

    if-eqz p1, :cond_0

    const/16 v0, 0x8

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->setVisibility(I)V

    :goto_0
    return-void

    :cond_0
    const/4 v0, 0x0

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->setVisibility(I)V

    goto :goto_0
.end method

.method public setWaterMarkMode(Lcom/waiqin365/lightapp/syorder/view/ae;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->u:Lcom/waiqin365/lightapp/syorder/view/ae;

    return-void
.end method

.method public setWaterMarkModeByMenu(Lcom/waiqin365/lightapp/syorder/view/ae;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->v:Lcom/waiqin365/lightapp/syorder/view/ae;

    return-void
.end method

.method public update(Ljava/util/Observable;Ljava/lang/Object;)V
    .locals 6

    if-eqz p2, :cond_1

    instance-of v0, p2, Lcom/waiqin365/lightapp/view/a/a;

    if-eqz v0, :cond_1

    iget-object v1, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->n:Ljava/lang/String;

    move-object v0, p2

    check-cast v0, Lcom/waiqin365/lightapp/view/a/a;

    iget-object v0, v0, Lcom/waiqin365/lightapp/view/a/a;->a:Ljava/lang/String;

    invoke-virtual {v1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_1

    move-object v0, p2

    check-cast v0, Lcom/waiqin365/lightapp/view/a/a;

    iget-object v0, v0, Lcom/waiqin365/lightapp/view/a/a;->b:Ljava/lang/Object;

    instance-of v0, v0, Landroid/content/Intent;

    if-eqz v0, :cond_1

    check-cast p2, Lcom/waiqin365/lightapp/view/a/a;

    iget-object v0, p2, Lcom/waiqin365/lightapp/view/a/a;->b:Ljava/lang/Object;

    check-cast v0, Landroid/content/Intent;

    invoke-static {}, Lcom/waiqin365/lightapp/view/a/b;->a()Ljava/util/Observable;

    move-result-object v1

    invoke-virtual {v1, p0}, Ljava/util/Observable;->deleteObserver(Ljava/util/Observer;)V

    if-eqz v0, :cond_1

    const-string/jumbo v1, "dir"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    if-eqz v1, :cond_1

    const/4 v1, 0x1

    iput-boolean v1, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->Q:Z

    const-string/jumbo v1, "dir"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->setPhotos(Ljava/lang/String;)V

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->l()Ljava/lang/String;

    move-result-object v1

    invoke-static {v1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v1

    if-nez v1, :cond_0

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->getContext()Landroid/content/Context;

    move-result-object v1

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->l()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->m()Ljava/lang/String;

    move-result-object v3

    iget v4, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->F:I

    invoke-static {v4}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v4

    const-string/jumbo v5, "dir"

    invoke-virtual {v0, v5}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v5

    invoke-static {v1, v2, v3, v4, v5}, Lcom/waiqin365/lightapp/visit/c/b;->a(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V

    :cond_0
    const-string/jumbo v1, "selectedList"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->getSerializableExtra(Ljava/lang/String;)Ljava/io/Serializable;

    move-result-object v1

    check-cast v1, Ljava/util/ArrayList;

    if-eqz v1, :cond_1

    iget-object v1, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->L:Ljava/util/ArrayList;

    invoke-virtual {v1}, Ljava/util/ArrayList;->clear()V

    iget-object v1, p0, Lcom/waiqin365/lightapp/syorder/view/SyImagePreview;->L:Ljava/util/ArrayList;

    const-string/jumbo v2, "selectedList"

    invoke-virtual {v0, v2}, Landroid/content/Intent;->getSerializableExtra(Ljava/lang/String;)Ljava/io/Serializable;

    move-result-object v0

    check-cast v0, Ljava/util/ArrayList;

    invoke-virtual {v1, v0}, Ljava/util/ArrayList;->addAll(Ljava/util/Collection;)Z

    :cond_1
    return-void
.end method
